<%@ Page Language="C#" CodeFile="UploadFile.aspx.cs" Inherits="webapp4U.UI.UploadFile"%>
<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>Upload Picture</title>
    <style>
        .text{font-size:0.7em; font-family:verdana}
    </style>
</head>
<body bgcolor=AliceBlue>
    <form id="form1" runat="server">
     <div style=" padding-top:10pt;">
     <table border="0" width="360" align="center" bordercolorlight="#6699cc" bordercolordark="#FFFFFF" cellpadding="0" cellspacing="0">
        <tr>
            <td class="text" align="center"><b>Upload Picture</b></td>
        </tr>
        <tr>
            <td><hr /></td>
        </tr>
        <tr style="padding:5pt;">
            <td align="center">
                <span class="text">File:</span> <asp:FileUpload runat="server" ID="PhotoFile" Width="250" CssClass="textbox" />
                <asp:RequiredFieldValidator ControlToValidate="PhotoFile" runat="server" ErrorMessage="*"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr style="padding:2pt">
            <td align="center">
                <asp:Button ID="Button1" runat="server" OnClick="Upload_Click" Text="Upload" CssClass="textbox" />
            </td>
        </tr>
         <tr>
            <td><hr /></td>
        </tr>
     </table>
     </div>
     <div align="center">
        <asp:Label ID="lblMsg" runat="server" Font-Size="0.7em" ForeColor="red" Font-Names="verdana"></asp:Label>
     </div>
    </form>
 </body>
 </html>
